package com.im.business.offline.api;

import org.springframework.web.bind.annotation.RequestMapping;

import java.util.List;

/**
 * @Created leijun
 * @Date 2021/11/3 8:45 上午
 */
public interface OfflineMessageApi {

    /**
     * 查询单聊离线消息
     * @param receiverId
     * @return
     */
    @RequestMapping("offline/singleMessage")
    List<String> selectOfflineSingleMessage(Long receiverId);

    @RequestMapping("offline/groupMessage")
    List<String> selectOfflineGroupMessage(Long groupId);
}
